<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html><head>
<meta charset="utf-8">
<title><?php echo ($conf['title']); ?>_<?php echo ($conf['name']); ?></title>
<link rel="stylesheet" type="text/css" href="/Public/Static/css/common.css" /><link rel="stylesheet" type="text/css" href="/Public/Static/css/style.css" />
<script type="text/javascript" src="/Public/Static/js/jquery.js"></script>
<?php if(is_file('./Public/'.MODULE_NAME.'/Default/css/style.css')): ?><link rel="stylesheet" type="text/css" href="./Public/Home/Default/css/style.css"><?php endif; ?>
</head>
<body>
<div class="he">
  <div class="hes">
     <p class="qhcs">南昌 青山湖区</p>
     <p class="lxfs">
       <span class="dh">0743-8728590</span>
       <span class="em">325818006@qq.com</span>
     </p>
  </div>
</div>
  <div class="head">
     <div class="head-box">
       <div class="logo"><a href="<?php echo U('Home/Index/index');?>"><img src="/Public/Static/images/logo.png"></a></div>
         <div class="login">
         <a href=""><img src="/Public/Static/image/1.png" /></a>
         <a href=""><img src="/Public/Static/image/2.png" /></a>
         <a href="<?php echo U('User/Index/index');?>"><img src="/Public/Static/image/3.png" /></a>
         </div>
     </div>
  </div>
<div class="nav">
	<span class="span">菜品分类</span>
   <ul>
      <li class="nogo"><a href="/">网站首页</a></li>
      <li><a href="<?php echo U('Home/Gift/index');?>">积分兑换</a></li>
      <li><a href="<?php echo U('Article/Index/show',array('id'=>1));?>">帮助中心</a></li>
      <li><a href="<?php echo U('Feedback/Index/index');?>">意见反馈</a></li>
      <li><a href="<?php echo U('User/Cart/index');?>">购物车</a></li>
   </ul>
</div>
<div class="clear"></div>
<div class="centent">
	<div class="centent-box">
		<div class="centent-left">
			<ul>
				<?php if(is_array($food_cate)): $i = 0; $__LIST__ = $food_cate;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?><li>
					<a href="<?php echo U('Food/Index/index',array('id'=>$item['fcid']));?>"><?php echo ($item['fcname']); ?></a>
				</li><?php endforeach; endif; else: echo "" ;endif; ?>
			</ul>
		</div>
		<div class="centent-right">
			<div class="type">
				<span>新品推荐</span>
				<ul>
					<li>
						<input type="radio" value="1" />
						价格
					</li>
					<li>
						<input type="radio" value="2" />
						人气
					</li>
					<li>
						<input type="radio" value="2"/>
						销量
					</li>
				</ul>
				<div class="clear"></div>
			</div>
			<div class="product" id="id_left">
				<ul>
					<?php echo W('Food/Food/run',array(array('isrecommend'=>1),12));?>
				</ul>
				<div class="clear"></div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript" src="/Public/Static/js/kj.js"></script><script type="text/javascript" src="/Public/Static/js/shop.optional.js"></script>
<div class='cart_menu' id="id_cart_menu" >
	<div class="x_top">
		<li class="x_1" onclick="jsshop.cart_new(true);" style="cursor:pointer">增加一人</li>
		<li class="x_4" onclick="jsshop.showcart_fixed(this);" id="id_btn_fixed"></li>
		<li class="x_5" onclick="jsshop.cart_submit();">立即结算</li>
		<li class="x_3">￥0</li>
		<li class="x_2">共 0  份，合计</li>
	</div>
	<div class="x_listpic" id="id_cart_box"></div>
</div>
<script>
kj.onload(function(){
	//配置信息:minprice = 单份订单最小价格 , 单份订单最多菜品数 , 单份订单最多菜数(不算饭与汤)
	jsshop.cfg = {minprice:5 ,maxnum:6 , maxcainum:4 , mintotal:10};
		jsshop.tempurl = "/Public/Static/images/";
	jsshop.shopid =  0;
	jsshop.cart_init = function() {
		var is_new = true;
		var is_add = true;
				if(is_add) {
			this.cart_new(true);
		}
	}
	jsshop.cart_init();
});

jsshop.resize();
kj.show("#id_cart_menu");
</script>


<div class="clear"></div>
<div class="footer">
	<div class="foot">
		<p>联系地址：<?php echo ($conf['address']); ?> 订餐电话：<?php echo ($conf['tel']); ?> 备案号：<?php echo ($conf['icp']); ?></p>
		<p>&copy; 2013-2014 风火轮配送版权所有 技术支持：<a href="http://www.tensent.cn" target="_blank">腾速科技</a></p>
	</div>
</div>
</body>
</html>